package com.tjec.project.system.mapper;

import com.tjec.project.system.domain.BmsServiceArea;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * sericeAreaMapper接口
 * 
 * @author pangyongfeng
 * @date 2020-10-22
 */
public interface BmsServiceAreaMapper 
{
    /**
     * 查询sericeArea
     * 
     * @param guid sericeAreaID
     * @return sericeArea
     */
    public BmsServiceArea selectBmsServiceAreaByGuid(String guid);

    /**
     * 查询sericeArea列表
     * 
     * @param bmsServiceArea sericeArea
     * @return sericeArea集合
     */
    public List<BmsServiceArea> selectBmsServiceAreaList(BmsServiceArea bmsServiceArea);

    /**
     * 新增sericeArea
     * 
     * @param bmsServiceArea sericeArea
     * @return 结果
     */
    public int insertBmsServiceArea(BmsServiceArea bmsServiceArea);

    /**
     * 修改sericeArea
     * 
     * @param bmsServiceArea sericeArea
     * @return 结果
     */
    public int updateBmsServiceArea(BmsServiceArea bmsServiceArea);

    /**
     * 删除sericeArea
     * 
     * @param guid sericeAreaID
     * @return 结果
     */
    public int deleteBmsServiceAreaByGuid(String guid);

    /**
     * 批量删除sericeArea
     * 
     * @param guids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBmsServiceAreaByGuids(String[] guids);
    
    /**
     * 查询是否重复
     * @param bmsServiceArea
     * @return
     */
    public int checkCounts(BmsServiceArea bmsServiceArea);
    
    public BmsServiceArea selectBmsServiceArea(@Param("classifyType")String classifyType,@Param("classifyName")String classifyName);
}
